<%@ page contentType="text/html;charset=utf-8"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ include file="admin_header.jsp"%>
<%@ include file="admin_container.jsp"%>
<img src="../images/admin/logo.jpg" />
<div id="content">
<%@ include file="admin_nav.jsp"%>
<div id="right">
<c:if test="${wordLib == null}">
<h1  class="topmenu">添加新词库</h1>
<form action="<c:url value="/administrator/wordlib.htm?method=add"/>" method="post">
</c:if>
<c:if test="${wordLib != null}">
<form action="<c:url value="/administrator/wordlib.htm?method=edit"/>" method="post">
<h1 class="topmenu">编辑词库</h1>
<input name="wordLibID" type="hidden" value="${wordLib.wordLibID }"/>
</c:if>

<dl>
	<dt><label for="wordLibName">词库名称:</label></dt>
	<dd><input type="text" name="wordLibName" value="${wordLib.wordLibName}"/></dd>
	<dt><label for="firstClass">第一级:</label></dt>
	<dd><input type="text" name="firstClass" value="${wordLib.firstClass}"/></dd>
	<dt><label for="secondClass">第二级:</label></dt>
	<dd><input type="text" name="secondClass" value="${wordLib.secondClass}"/></dd>
	<dt><label for="thirdClass">第三级:</label></dt>
	<dd><input type="text" name="thirdClass" value="${wordLib.thirdClass}"></dd>
	<dt><label for="forthClass">第四级:</label></dt>
	<dd><input type="text" name="forthClass" value="${wordLib.forthClass}"/></dd>
	<dt><label for="description">描述:</label></dt>
	<dd><textarea  cols="30" rows="5" name="description">${wordLib.description}</textarea></dd>
	<dt><label for="libImagePath">图片名称:</label></dt>
	<dd><input type="text" name="libImagePath" value="${wordLib.libImagePath}"/></dd>
	<dt><input id="button" type="submit" value="保存词库信息"/></dt>
</dl>

</form>
<%@ include file="admin_footer.jsp"%>
